package com.qianli.user.ro.auth;

import com.qianli.user.ro.BaseComplete;
import com.qianli.user.ro.BaseRO;

import java.io.Serializable;

/**
 * name:客户信息
 * auth:ting.li@qianli-inc.com
 * date:2017/12/2211:46
 * version: v1.0.0
 **/
public class CustomerRO extends BaseRO implements Serializable, BaseComplete {

    private static final long serialVersionUID = -8677359088480473936L;
    /**
     * 客户码
     */
    private String customerCode;
    /**
     * 姓名
     */
    private String name;
    /**
     * 身份证
     */
    private String identityNo;

    public String getCustomerCode() {
        return customerCode;
    }

    public void setCustomerCode(String customerCode) {
        this.customerCode = customerCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdentityNo() {
        return identityNo;
    }

    public void setIdentityNo(String identityNo) {
        this.identityNo = identityNo;
    }

    @Override
    public Boolean isComplete() {
        return null != getIdentityNo() && null != getName();
    }
}
